home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8382 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: memory allocation using malloc and free
  5. Date: 01 Mar 1996 16:14:37 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar1091437@qcd.lanl.gov>
  8. References: <4gagll$5rc@bertrand.ccs.carleton.ca> <danpop.824952492@rscernix>
  9.     <4gqja2INN8vr@keats.ugrad.cs.ubc.ca> <danpop.825438439@rscernix>
  10.     <4h584hINNrlr@anvil.ugrad.cs.ubc.ca>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: c2a192@ugrad.cs.ubc.ca's message of 29 Feb 1996 14:08:17 -0800
  15.  
  16. In article <4h584hINNrlr@anvil.ugrad.cs.ubc.ca>
  17. c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
  18.  
  19. <snip>
  20. KK: > * 12 pointer, array, and function declarators (in any combinations)
  21. KK: >   modifying an arithmetic, a structure, a union, or an incomplete type
  22. KK: >   in a declaration
  23. KK: 
  24. KK: That one confused me upon a casual first parse, but it obviously refers to
  25. KK: this:
  26. KK: 
  27. KK:     TYPE D1, *D2, (*D3)(), D4[], ..., D12;
  28. KK: 
  29. KK: That is, at least twelve declarators in a row in what is one declaration.
  30.  
  31. I thought it meant 
  32.  
  33. TYPE (*(**(*(*(*D(void))[3])(void))[4])(void))[5];
  34.  
  35. Cheers
  36. Tanmoy
  37. --
  38. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  39. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  40. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  41. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  42. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  43. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  44.